@charset 'utf-8';

@import 'common';

$main-fc: #ff6b08;

.news-column{
    margin-top: 50px;
    margin-bottom: 85px;
    padding-top: 20px;
    h2{
        font-size: 30px;
        color: $main-fc;
        margin-bottom: 38px;
    }
    .news-caption{
        position: relative;
        p{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 40px;
            font-size: 14px;
            color: #ffffff;
//          line-height: 40px;
            padding: 0 5px;
            margin-bottom: 0;
            position: absolute;
            bottom: 0;
            left: auto;
            background-color: rgba(9,9,9,0.5);
        } 
    }
    
}
.news-list{
    .item-wrapper{
        margin-bottom: 37px;
        .pic{
            border: 1px solid #dddddd;
            padding: 4px;
        }
        h3{
            font-size: 18px;
            margin-top: 0;
            a{
               color: #666666; 
               &:hover{
                   color: $main-fc;
                   text-decoration: none;
               }
            }
        }
        p{
            font-size: 14px;
            color: #2a2a2a;
        }
        .time{
            margin-top: 16px;
        }
        .text{
            margin-top: 20px;
            line-height: 25px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .bto{
            width: 98px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            border-radius: 24px;
            border: 1px solid $main-fc;
            float: right;
            a{
                font-size: 14px;
                color: $main-fc;
                text-decoration: none;
            }
            &:hover{
                background-color: $main-fc;
                a{
                    color: #ffffff;
                }
            }
        }
    }
    .news-page{
        margin: 0 16px;
        padding-top: 35px;
        padding-bottom: 25px;
        border-top: 1px dashed #d4d4d4;
        ul{
            display: flex;
            justify-content: center;
            margin: 0;
            padding: 0;
            li{
                font-size: 12px;
                list-style: none;
                border: 1px solid #dddddd;
                border-right: none;
                line-height: 29px;
                text-align: center;
                a{
                    display: block;
                   text-decoration: none;
                   color: #767676; 
                }
                &:hover{
                    background: #d5d5d5;
                }
            }
            .active{
                background-color: #e34637;
                a{
                    color: #ffffff; 
                }
            }
            .total{
                width: 50px;
                height: 29px;
                border-top-left-radius: 4px;
                border-bottom-left-radius: 4px;
            }
            .fenye{
                width: 60px;
                height: 29px;
                
            }
            .fenye1{
                border-right: 1px solid #dddddd;
                border-top-right-radius: 4px;
                border-bottom-right-radius: 4px;
            }
            .a1{
                width: 31px;
                height: 29px;
            }
        }
    }
}
@media only screen and (max-width: 767px){
    .news-column{
        margin-bottom: 30px;
        h2{
            font-size: 20px;
            margin-bottom: 20px;
        }
        .news-caption{
            margin-left: -10px;
            margin-right: -10px;
            p{
                display: none;
            }
        }
    }
    .news-list{
        
        .item-wrapper{
            .pic{
                margin-left: -10px;
                margin-right: -10px;
            }
            h3{
                font-size: 14px;
            }
            .time{
                font-size: 12px;
                margin-top: 0;
            }
            .text{
                display: none;
            }
            .bto{
                display: none;
            }
        }
    }
}
